﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BolaoDNA.WebMvc.Areas.Admin.ViewModels.UsuarioCadastradoViewModel>" %>

<asp:Content ID="Title" ContentPlaceHolderID="TitleContent" runat="server">
	SignUp
</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="MainContent" runat="server">

    <h2>&nbsp;</h2>

    <% using (Html.BeginForm())
       {%>
       <div class="block">
       <div class="content">
       <div class="flash">       
       <% foreach (var modelStateKey in this.ViewData.ModelState.Keys)
          foreach (var error in ViewData.ModelState[modelStateKey].Errors)
          { %>
       <div class="message error"><p><%=error.ErrorMessage %></p></div>
        <% } %>
        </div>
        </div>
        </div>
    <div id="box">

     <div class="block" id="block-signup">
        <h2>Cadastro</h2>

        <div class="content">
          <form action="#" class="form">

            <div class="group wat-cf">
              <div class="left">
                <label class="label">Login(Email)</label>
              </div>
              <div class="right">
              <%= Html.TextBoxFor(m=>m.Instance.Email)%>
              <%= Html.ValidationMessageFor(m=>m.Instance.Email)%>
              <span class="description">Ex: bolao@inspira.com.br</span>
              </div>

            </div>
            <div class="group wat-cf">
              <div class="left">
                <label class="label">Nome</label>
              </div>

              <div class="right">
                
                <%= Html.TextBoxFor(m=>m.Instance.Nome)%>
                <%= Html.ValidationMessageFor(m => m.Instance.Nome)%>
                <span class="description">Ex: Fulano</span>

              </div>
            </div>
            <div class="group wat-cf">
              <div class="left">
                <label class="label">Senha</label>
                <div class="right">
                <%= Html.PasswordFor(m => m.Senha)%>
                <%= Html.ValidationMessageFor(m => m.Senha)%>
                <span class="description">Senha pessoal</span>
              </div>
             
                
              </div>
            </div>

            
            <div class="group navform wat-cf">
              <button class="button" type="submit">

                 Cadastrar
              </button>
            </div>
          </form>
          <%} %>

        </div>
      </div>
    
</div>

</asp:Content>

